using System;
using System.ServiceModel.Description;
namespace Net35.Xrm.Sdk.Client
{
	public sealed class AuthenticationCredentials
	{
		private System.ServiceModel.Description.ClientCredentials _clientCredentials = new System.ServiceModel.Description.ClientCredentials();
		public System.Uri AppliesTo
		{
			get;
			set;
		}
		public System.Uri HomeRealm
		{
			get;
			set;
		}
		public string UserPrincipalName
		{
			get;
			set;
		}
		public System.ServiceModel.Description.ClientCredentials ClientCredentials
		{
			get
			{
				return this._clientCredentials;
			}
			set
			{
				this._clientCredentials = value;
			}
		}
		public SecurityTokenResponse SecurityTokenResponse
		{
			get;
			set;
		}
		public AuthenticationCredentials SupportingCredentials
		{
			get;
			set;
		}
		internal IssuerEndpoint IssuerEndpoint
		{
			get
			{
				if (this.IssuerEndpoints == null)
				{
					return null;
				}
				return this.IssuerEndpoints.GetIssuerEndpoint(this.EndpointType);
			}
		}
		internal TokenServiceCredentialType EndpointType
		{
			get;
			set;
		}
		internal string RequestType
		{
			get;
			set;
		}
		internal string KeyType
		{
			get;
			set;
		}
		internal IssuerEndpointDictionary IssuerEndpoints
		{
			get;
			set;
		}
	}
}
